﻿using B.S.Requst;
using MediatR;

namespace B.S.Data.MES.API.Applications.ProcessmaintenanceApplications.Command
{
    public class UpdateProcessmaintenanceCommand:IRequest<APIRequst<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string ProcessmaintenanceEncode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProcessmaintenanceName { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string ProcessmaintenanceType { get; set; }
        /// <summary>
        /// 报工模式
        /// </summary>
        public int ProcessmaintenanceReportingmode { get; set; }
        
        /// <summary>
        ///描述
        /// </summary>
        public string? ProcessmaintenanceDescription { get; set; }
        
        /// <summary>
        /// 更新时间(可空)
        /// </summary>
        public DateTime? ProcessmaintenanceUpdateTime { get; set; }=DateTime.Now;
    }
}
